package com.corpgovernment.job.controller.vo.job;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ldma
 * @date 2024/1/25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageBatchImportErrorLineRespVo {

    private Integer errorCount = 0;
    private List<ErrorLine> errorLineList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ErrorLine {
        private Integer lineNum;
        private String errorInfo;
        private String statusName = "失败";

        public ErrorLine(Integer lineNum, String errorInfo) {
            this.lineNum = lineNum;
            this.errorInfo = errorInfo;
        }
    }

}
